$OpenBSD: patch-Makefile_am,v 1.3 2015/04/06 12:11:40 jasper Exp $

Enable libffi on m88k and vax platforms.

--- Makefile.am.orig	Sun May 11 16:21:54 2014
+++ Makefile.am	Mon Sep 15 22:00:00 2014
@@ -169,6 +169,9 @@ endif
 if NIOS2
 nodist_libffi_la_SOURCES += src/nios2/sysv.S src/nios2/ffi.c
 endif
+if M88K
+nodist_libffi_la_SOURCES += src/m88k/ffi.c src/m88k/obsd.S
+endif
 if POWERPC
 nodist_libffi_la_SOURCES += src/powerpc/ffi.c src/powerpc/ffi_sysv.c src/powerpc/ffi_linux64.c src/powerpc/sysv.S src/powerpc/ppc_closure.S src/powerpc/linux64.S src/powerpc/linux64_closure.S
 endif
@@ -204,6 +207,9 @@ nodist_libffi_la_SOURCES += src/frv/eabi.S src/frv/ffi
 endif
 if S390
 nodist_libffi_la_SOURCES += src/s390/sysv.S src/s390/ffi.c
+endif
+if VAX
+nodist_libffi_la_SOURCES += src/vax/ffi.c src/vax/elfbsd.S
 endif
 if X86_64
 nodist_libffi_la_SOURCES += src/x86/ffi64.c src/x86/unix64.S src/x86/ffi.c src/x86/sysv.S
